﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;

namespace Delay
{
    public class phonePkItem : INotifyPropertyChanged
    {
        //图片地址
        private string _phone1_picurl;
        public string Ponhe1_picurl
        {
            get
            {
                return _phone1_picurl;
            }
            set
            {
                if (_phone1_picurl != value)
                {
                    _phone1_picurl = value;
                    NotifyPropertyChanged("Ponhe1_picurl");
                }
            }
        }
        private string _phone2_picurl;
        public string Ponhe2_picurl
        {
            get
            {
                return _phone2_picurl;
            }
            set
            {
                if (_phone2_picurl != value)
                {
                    _phone2_picurl = value;
                    NotifyPropertyChanged("Ponhe2_picurl");
                }
            }
        }
        //机型名称
        private string _phone1_phonename;
        public string Ponhe1_phonename
        {
            get
            {
                return _phone1_phonename;
            }
            set
            {
                if (_phone1_phonename != value)
                {
                    _phone1_phonename = value;
                    NotifyPropertyChanged("Ponhe1_phonename");
                }
            }
        }
        private string _phone2_phonename;
        public string Ponhe2_phonename
        {
            get
            {
                return _phone2_phonename;
            }
            set
            {
                if (_phone2_phonename != value)
                {
                    _phone2_phonename = value;
                    NotifyPropertyChanged("Ponhe2_phonename");
                }
            }
        }
        //
        private string _phone1_forumid;
        public string Ponhe1_forumid
        {
            get
            {
                return _phone1_forumid;
            }
            set
            {
                if (_phone1_forumid != value)
                {
                    _phone1_forumid = value;
                    NotifyPropertyChanged("Ponhe1_forumid");
                }
            }
        }
        private string _phone2_forumid;
        public string Ponhe2_forumid
        {
            get
            {
                return _phone2_forumid;
            }
            set
            {
                if (_phone2_forumid != value)
                {
                    _phone2_forumid = value;
                    NotifyPropertyChanged("Ponhe2_forumid");
                }
            }
        }
        //
        private string _phone1_rank;
        public string Ponhe1_rank
        {
            get
            {
                return _phone1_rank;
            }
            set
            {
                if (_phone1_rank != value)
                {
                    _phone1_rank = value;
                    NotifyPropertyChanged("Ponhe1_rank");
                }
            }
        }
        private string _phone2_rank;
        public string Ponhe2_rank
        {
            get
            {
                return _phone2_rank;
            }
            set
            {
                if (_phone2_rank != value)
                {
                    _phone2_rank = value;
                    NotifyPropertyChanged("Ponhe2_phonename");
                }
            }
        }
        //
        private string _phone1_price;
        public string Ponhe1_price
        {
            get
            {
                return _phone1_price;
            }
            set
            {
                if (_phone1_price != value)
                {
                    _phone1_price = value;
                    NotifyPropertyChanged("Ponhe1_rank");
                }
            }
        }
        private string _phone2_price;
        public string Ponhe2_price
        {
            get
            {
                return _phone2_price;
            }
            set
            {
                if (_phone2_price != value)
                {
                    _phone2_price = value;
                    NotifyPropertyChanged("Ponhe2_price");
                }
            }
        }
        //
        private string _phone1_maxprice;
        public string Ponhe1_maxprice
        {
            get
            {
                return _phone1_maxprice;
            }
            set
            {
                if (_phone1_maxprice != value)
                {
                    _phone1_maxprice = value;
                    NotifyPropertyChanged("Ponhe1_maxprice");
                }
            }
        }
        private string _phone2_maxprice;
        public string Ponhe2_maxprice
        {
            get
            {
                return _phone2_maxprice;
            }
            set
            {
                if (_phone2_maxprice != value)
                {
                    _phone2_maxprice = value;
                    NotifyPropertyChanged("Ponhe2_maxprice");
                }
            }
        }
        //
        private string _phone1_minprice;
        public string Ponhe1_minprice
        {
            get
            {
                return _phone1_minprice;
            }
            set
            {
                if (_phone1_minprice != value)
                {
                    _phone1_minprice = value;
                    NotifyPropertyChanged("Ponhe1_minprice");
                }
            }
        }
        private string _phone2_minprice;
        public string Ponhe2_minprice
        {
            get
            {
                return _phone2_minprice;
            }
            set
            {
                if (_phone2_minprice != value)
                {
                    _phone2_minprice = value;
                    NotifyPropertyChanged("Ponhe2_minprice");
                }
            }
        }
        //
        private string _phone1_addtime;
        public string Ponhe1_addtime
        {
            get
            {
                return _phone1_addtime;
            }
            set
            {
                if (_phone1_addtime != value)
                {
                    _phone1_addtime = value;
                    NotifyPropertyChanged("Ponhe1_addtime");
                }
            }
        }
        private string _phone2_addtime;
        public string Ponhe2_addtime
        {
            get
            {
                return _phone2_addtime;
            }
            set
            {
                if (_phone2_addtime != value)
                {
                    _phone2_addtime = value;
                    NotifyPropertyChanged("Ponhe2_addtime");
                }
            }
        }
        //
        private string _phone1_score;
        public string Ponhe1_score
        {
            get
            {
                return _phone1_score;
            }
            set
            {
                if (_phone1_score != value)
                {
                    _phone1_score = value;
                    NotifyPropertyChanged("Ponhe1_score");
                }
            }
        }
        private string _phone2_score;
        public string Ponhe2_score
        {
            get
            {
                return _phone2_score;
            }
            set
            {
                if (_phone2_score != value)
                {
                    _phone2_score = value;
                    NotifyPropertyChanged("Ponhe2_score");
                }
            }
        }
        //
        private string _phone1_pid;
        public string Ponhe1_pid
        {
            get
            {
                return _phone1_pid;
            }
            set
            {
                if (_phone1_pid != value)
                {
                    _phone1_pid = value;
                    NotifyPropertyChanged("Ponhe1_pid");
                }
            }
        }
        private string _phone2_pid;
        public string Ponhe2_pid
        {
            get
            {
                return _phone2_pid;
            }
            set
            {
                if (_phone2_pid != value)
                {
                    _phone2_pid = value;
                    NotifyPropertyChanged("Ponhe2_pid");
                }
            }
        }
        //
        private string _phone1_ppid;
        public string Ponhe1_ppid
        {
            get
            {
                return _phone1_ppid;
            }
            set
            {
                if (_phone1_ppid != value)
                {
                    _phone1_ppid = value;
                    NotifyPropertyChanged("Ponhe1_ppid");
                }
            }
        }
        private string _phone2_ppid;
        public string Ponhe2_ppid
        {
            get
            {
                return _phone2_ppid;
            }
            set
            {
                if (_phone2_ppid != value)
                {
                    _phone2_ppid = value;
                    NotifyPropertyChanged("Ponhe2_ppid");
                }
            }
        }
        //
        private string _phone1_ppname;
        public string Ponhe1_ppname
        {
            get
            {
                return _phone1_ppname;
            }
            set
            {
                if (_phone1_ppname != value)
                {
                    _phone1_ppname = value;
                    NotifyPropertyChanged("Ponhe1_ppname");
                }
            }
        }
        private string _phone2_ppname;
        public string Ponhe2_ppname
        {
            get
            {
                return _phone2_ppname;
            }
            set
            {
                if (_phone2_ppname != value)
                {
                    _phone2_ppname = value;
                    NotifyPropertyChanged("Ponhe2_ppname");
                }
            }
        }
        private string _type;
        public string Type
        {
            get
            {
                return _type;
            }
            set
            {
                if (_type != value)
                {
                    _type = value;
                    NotifyPropertyChanged("Type");
                }
            }
        }
        public event PropertyChangedEventHandler PropertyChanged;
        private void NotifyPropertyChanged(String propertyName)
        {
            PropertyChangedEventHandler handler = PropertyChanged;
            if (null != handler)
            {
                handler(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }
}
